package HLLibClasses;

import HLCode.HLClassManager;
import HLCode.HLLibClass;
import HLCode.HLObject;
import HLLib.base.HLIVirtualInputer;
import HLLib.base.HLList;

public class HLClassIVirtualInputer extends HLLibClass {
    public HLClassIVirtualInputer(HLClassManager owner) {
        super(owner);
    }

    public HLObject NewObject() {
        return new HLIVirtualInputer();
    }

    public void Execute(HLObject self, int index, HLObject args, HLObject resultOwnerObject, int resultIndex) {
        switch (index) {
        case 0: {
            ((HLIVirtualInputer) self).pointerRefresh((HLList)args.GetObject(0));
            break;
        }
        case 1: {
            ((HLIVirtualInputer) self).update();
            break;
        }
        }
    }
}
